WASMWebsocketNetwork

Specification: - The first message received by a Hipreme Engine websocket must always be its own connection ID.

Members

Functions

attemptReconnection
void attemptReconnection()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
NetConnectStatus connect(NetIPAddress ip, void delegate() onConnect, size_t id)
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
getConnectionSelfID
size_t getConnectionSelfID()
Undocumented in source. Be warned that the author may not have intended to support it.
getData
uint getData(ubyte[] tempBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
isHost
bool isHost()
Undocumented in source. Be warned that the author may not have intended to support it.
sendData
bool sendData(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
status
NetConnectStatus status()
Undocumented in source. Be warned that the author may not have intended to support it.
targetConnectionID
void targetConnectionID(size_t id)
Undocumented in source. Be warned that the author may not have intended to support it.
targetConnectionID
size_t targetConnectionID()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_status
NetConnectStatus _status;
Undocumented in source.
connectedTo
uint connectedTo;
Undocumented in source.
onConnect
void delegate() onConnect;
Undocumented in source.
socket
WasmWebsocket socket;
Undocumented in source.
socketID
uint socketID;
Undocumented in source.

Meta